<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="check.jsp" method="get">
		<select name="key" id="key">
			<option value="1">data1</option>
			<option value="2">data2</option>
			<option value="3">data3</option>
		</select> <input type="text" name="value" id="value"> <input
			type="submit" value="Search">
	</form>
	
	<input type="text" name="page" id="page">
	<input type="button" value="Next" onclick="doClick(page.value)">
	
	<script type="text/javascript">
		function doClick(page) {
			location.href = "form.jsp?page=" + page;
		}
	</script>
</body>
</html>